﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonTagTime.ModelObject
{
    public class ProductRelated
    {
        //------------------------------------------------
        //VARIABLE
        //------------------------------------------------
        private int _TotalRecords;
        private int _CurrentPage;
        private int _PageSize;
        private string _OrderBy;
        private string _OrderDirection;
        private string _Condition;         
        private int _ProductRelatedID;
        private int _ProductID;

        private string _SKU;
        //------------------------------------------------
        //PROPERTY
        //------------------------------------------------
        public int ProductRelatedID
        {
            get { return _ProductRelatedID; }
            set { _ProductRelatedID = value; }
        }
        public int ProductID
        {
            get { return _ProductID; }
            set { _ProductID = value; }
        }
       
        public int TotalRecords
        {
            get { return _TotalRecords; }
            set { _TotalRecords = value; }
        }

        public string OrderBy
        {
            get { return _OrderBy; }
            set { _OrderBy = value; }
        }

        public string OrderDirection
        {
            get { return _OrderDirection; }
            set { _OrderDirection = value; }
        }

        public int CurrentPage
        {
            get { return _CurrentPage; }
            set { _CurrentPage = value; }
        }

        public int PageSize
        {
            get { return _PageSize; }
            set { _PageSize = value; }
        }
        public string Condition
        {
            get { return _Condition; }
            set { _Condition = value; }
        }


        public string SKU
        {
            get { return _SKU; }
            set { _SKU = value; }
        }

        public ProductRelated()
        {
            _CurrentPage = 0;
            _PageSize = 0;
            _TotalRecords = 0;          
            _ProductRelatedID = int.MinValue;
            _ProductID=int.MinValue;
            _Condition = string.Empty;
            _SKU = string.Empty;

        }
    }

    public class ProductRelatedCollection : List<ProductRelated>
    { }
}

